package cn.iocoder.yudao.module.vote.convert.fielddynamicsconfig;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.vote.controller.admin.fielddynamicsconfig.vo.*;
import cn.iocoder.yudao.module.vote.dal.dataobject.fielddynamicsconfig.FieldDynamicsConfigDO;

/**
 * 表动态配置字段展示 Convert
 *
 * @author moving
 */
@Mapper
public interface FieldDynamicsConfigConvert {

    FieldDynamicsConfigConvert INSTANCE = Mappers.getMapper(FieldDynamicsConfigConvert.class);

    FieldDynamicsConfigDO convert(FieldDynamicsConfigCreateReqVO bean);

    FieldDynamicsConfigDO convert(FieldDynamicsConfigUpdateReqVO bean);

    FieldDynamicsConfigRespVO convert(FieldDynamicsConfigDO bean);

    List<FieldDynamicsConfigRespVO> convertList(List<FieldDynamicsConfigDO> list);

    PageResult<FieldDynamicsConfigRespVO> convertPage(PageResult<FieldDynamicsConfigDO> page);

    List<FieldDynamicsConfigExcelVO> convertList02(List<FieldDynamicsConfigDO> list);

}
